<?php
// 应用公共文件

if (!function_exists('sysconf')) {

    function sysconf($name = '')
    {
        $obj = new \app\common\business\System();
        $system = $obj->getSystemById();
        if (empty($system)) {
            return "";
        } else {
            return $system[$name];
        }
    }
}